﻿// Copyright (c) 2014 Morten Bakkedal
// This code is published under the MIT License.

using System;
using System.Text;

namespace FuncLib.DualFunctions.Compilation
{
	internal class StorageOffsetsReference
	{
		private string identifier;
		private IndexList offsets;

		public StorageOffsetsReference(string identifier, IndexList offsets)
		{
			this.identifier = identifier;
			this.offsets = offsets;
		}

		public string Identifier
		{
			get
			{
				return identifier;
			}
		}

		public int Count
		{
			get
			{
				return offsets.Count;
			}
		}
	}
}
